import request from '@/utils/request'

export function getStaff(data){
  return request({
    url:'/gym-admin/employee/list',
    method:'',
    data
  })
}

export function addStaff(data){
  return request({
    url:'/gym-admin/employee/add',
    method:'',
    data
  })
}

export function updateStaff(data){
  return request({
    url:'/gym-admin/employee/eidt',
    method:'',
    data
  })
}

export function deleteStaff(data){
  return request({
    url:'/gym-admin/employee/delete',
    method:'',
    data
  })
}